package dao;

import java.util.List;

import javax.ejb.Remote;


import dto.CandidateDTO;
import dto.CandidateViewDto;

@Remote
public interface CandidateDAORemote {
	public List<CandidateViewDto> getCandidates(int employeeid);

	List<CandidateViewDto> getCandidatesById(int candidateid);

	public List<CandidateDTO> getCandidatesForTester(int employeeid);

	public List<CandidateDTO> getAllCadidates();

	public CandidateDTO getCandidateByID(int candidateID) throws Exception;

	public String generateLink(int candidateID);

	public CandidateDTO getCandidateByLink(String linkParameter);

	public String getLink(int candidateID);

	void addCandidate(CandidateDTO cDTO) throws Exception;

	void deleteCandidate(CandidateDTO cDTO) throws Exception;

	boolean CandidateHasInterviews(CandidateDTO cDTO);
}
